import axios from 'axios'
import store from '../store'
import {getOriginData} from "../actions/filter-action";

function getFilter() {
    axios.post('https://www.izhiliao.com/esf/api/house/filter',{
        siteId:'1',
        type:'1'
    }).then(res => {
        store.dispatch(getOriginData(res.data.data))
    })
}

export default getFilter;